/**
 * 
 */
package com.effectiv.gooruda.rest.domain;

import java.util.List;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import org.springframework.data.mongodb.core.index.Indexed;


/**
 * @author Dhrubo
 *
 */

@ToString
public class Role extends PesistentBase{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Indexed(unique=true)
	@Getter @Setter
	private String name;
	
	@Getter @Setter
	private boolean active = true;
	
	@Getter @Setter
	private List<Permission> permissions;
}
